<template>
  <div>
    <x-header :right-options="{showMore: true}" :left-options="{preventGoBack: true}" @on-click-back="back" @on-click-more="showMenus = true">我的理财</x-header>
    <group>
      <cell title="贷款申请" is-link>
        <img slot="icon" class="icon" src="../../assets/img/Loan/loan_01.png" />
      </cell>
      <cell title="额度查询" is-link>
        <img slot="icon" class="icon" src="../../assets/img/Loan/loan_02.png" />
      </cell>
      <cell title="我的贷款" is-link>
        <img slot="icon" class="icon" src="../../assets/img/Loan/loan_03.png" />
      </cell>
      <cell title="新时贷" is-link>
        <img slot="icon" class="icon" src="../../assets/img/Loan/loan_04.png" />
      </cell>
    </group>
  </div>
</template>

<script>

export default {
  data () {
    return {
      loanData: {
        profitMoney: '' // 总收益
      }
    }
  },
  methods: {
    gotoNext (item) {
      if (item.proId === '1012') {
        this.$router.push({name: 'FinancialOverseasTradeA'})
      } else {
        this.$router.push({name: 'FinancialOverseasTrade'})
      }
    },
    back () {
      this.$router.isBack = true
      this.$router ? this.$router.back() : window.history.back()
      // console.log(this.$router.isBack)
    }
  }

}
</script>

<style lang="less">
</style>
